<%@ include file="../includes/common.jsp"%>
<%@page import="application.RestoService"%>
<%

	id_category = request.getParameter("id_category");
	name_category = request.getParameter("name_category");
	RestoService resto = new RestoService();
	resto.updateCategory(id_category, name_category);
	out.print(id_category + " " + name_category);
	response.sendRedirect("category_view.jsp");
%>
